package com.hnx.admin.aurora.system.mapper.userRole;

import com.hnx.admin.aurora.system.domain.param.user.form.SysUserRoleForm;
import com.hnx.admin.aurora.system.domain.param.user.form.UsersRoleForm;
import org.apache.ibatis.annotations.Param;

public interface UserRoleMapper {
    int removeUserRole(String userId);
    int  removeUserRoles(String[] userId);
    int insertUserRole(@Param("userId")String userId,@Param("roleIds")String[] roleIds);

    int insertAuthUsers(UsersRoleForm userRoleForm);
    int deleteAuthUsers(UsersRoleForm userRoleForm);

    int deleteAuthUser(SysUserRoleForm userRole);
}
